pull: When mirroring, only replace summary if we're doing a full mirror
authorAlexander Larsson <alexl@redhat.com>
Fri, 16 Jun 2017 08:07:44 +0000 (10:07 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 16 Jun 2017 15:08:39 +0000 (15:08 +0000)
commit73ba3eb686ef86cea1c4563303e44df87d73e6c6
tree422d7bbce543c1f60be89d7ccdd92110b1386e63
parent371b4a5e7e179da26c18ac40ab0a2f66c3d89150
pull: When mirroring, only replace summary if we're doing a full mirror

We're hitting this in flathub, where we have a bunch of local builds,
but we also mirror a few refs from the gnome runtime repo into it.
Its fixable by re-doing the summary, but for a short time the
wrong version is visible.

Fixes https://github.com/ostreedev/ostree/issues/846

Closes: #935
Approved by: cgwalters
src/libostree/ostree-repo-pull.c
tests/pull-test.sh